package ren.colorful.jdk8;

import java.util.Arrays;
import java.util.Comparator;
import java.util.List;

public class StringComp {
    public static void main(String[] args) {
        List<String> list = Arrays.asList("liling","manman","feifei");
        list.sort(Comparator.reverseOrder());
        list.forEach(System.out::println);
    }
}
